package com.littcore.saap.message.biz;

import com.littcore.saap.core.module.message.BaseMessage;
import com.littcore.saap.message.bo.MessageChannelBo;

/**
 * .
 * 
 * <pre><b>描述：</b>
 *    
 * </pre>
 * 
 * <pre><b>修改记录：</b>
 *    
 * </pre>
 * 
 * @author <a href="mailto:littcai@hotmail.com">蔡源</a>
 * @since 2015年10月28日
 * @version 1.0
 */
public interface IMessageBizService {
  
  public void onMessage(BaseMessage message);
  
  public void sendEmail(MessageChannelBo messageChannel);
  
  public void sendWechat(MessageChannelBo messageChannel);
  
  public void sendUI(MessageChannelBo messageChannel);

  /**
   * 发送消息.
   *
   * @param message the message
   */
  public void publish(BaseMessage message);


}